#ifndef CRC_H
#define CRC_H

unsigned short update_crc(unsigned char c, unsigned short crc);
unsigned short calc_crc(unsigned char *p, unsigned char len);
bit check_message_crc(unsigned char *p, unsigned char len);

#endif // CRC_H
